/**
 * 
 */
package com.agilegroup.crm.ui;

import com.agilegroup.crm.ui.fragments.LeadFragment;

/**
 * @author Hisham
 *
 */
public class LeadActivity extends BaseActivity {
	
	protected void onCreate(android.os.Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		getSupportActionBar().setDisplayHomeAsUpEnabled(true);
		if (getSupportFragmentManager().findFragmentById(android.R.id.content) == null) {
			LeadFragment list = new LeadFragment();
            getSupportFragmentManager().beginTransaction().add(android.R.id.content, list).commit();
        }
	};
	
//	@Override
//    public boolean onMenuItemSelected(int featureId, MenuItem item) {
//    	int itemId = item.getItemId();
//        switch (itemId) {
//        case android.R.id.home:
//             finish();
//            break;
//
//        }
//
//        return true;
//    }
}
